<?php
//connction parameters
$host="localhost";
$db_name="StudentSurvey";
$username="studentsurvey";
$password="studentsurvey";
$db_con=mysql_connect($host,$username,$password);
$connection_string=mysql_select_db($db_name);
//connection
mysql_connect($host, $username, $password);
mysql_select_db($db_name);
?>
